package com.myh.exam.dto;

import java.io.Serializable;

public class User implements Serializable {

    private Integer id;

    private String name;

    private String nickName;

    private String passwd;

    public User() {
    }

    public User(String name, String nickName, String passwd) {
        this.name = name;
        this.nickName = nickName;
        this.passwd = passwd;
    }

    public User(Integer id, String name, String nickName, String passwd) {
        this.id = id;
        this.name = name;
        this.nickName = nickName;
        this.passwd = passwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
